government = feudal_monarchy-lowest
aristocracy_plutocracy = -4
centralization_decentralization = 3
innovative_narrowminded = 2
mercantilism_freetrade = -5
offensive_defensive = -1
land_naval = 0
quality_quantity = 4
serfdom_freesubjects = -5
primary_culture = azuma
religion = shinto
technology_group = chinese
capital = 1030	# Totomi

1000.1.1 = { set_country_flag = idea_grand_army }
1000.1.1 = { set_country_flag = idea_patron_of_art }
1000.1.1 = { set_country_flag = idea_bureaucracy }

1000.1.1 = { set_country_flag = closed_society }
1000.1.1 = { set_country_flag = emerging_middle_class }
1000.1.1 = { set_country_flag = traditional_values }
1000.1.1 = { set_country_flag = limited_contact }
1000.1.1 = { set_country_flag = opening_society }
1000.1.1 = { set_country_flag = open_society }

1000.1.1 = { set_country_flag = mixed_country }

1336.1.1 = { set_country_flag = loyal_vassal } #A cadet family of the Ashikaga
1336.1.1 = { set_country_flag = northern_court_supporter } #Sided with Ashikaga in 1336

1369.1.1 = { #Appointed shugo of Totomi and Suruga by the Hosokawa Kanrei
	monarch = { 
		name = " " #aka Imagawa Ryoshun as his monastic name
		ADM = 4
		DIP = 3
		MIL = 4
		}
	}
1399.1.1 = { 
	monarch = { 
		name = " " #Sadayo's nephew; was granted half of Totomi and Suruga in 1365
		ADM = 4
		DIP = 5
		MIL = 4
		}
	}
1409.1.1 = { 
	monarch = { 
		name = " "
		ADM = 5
		DIP = 5
		MIL = 6
		}
	}
1433.1.1 = { #was head of the family on this date and helped defeat Ashikaga Mochiuji
	monarch = { 
		name = " "
		ADM = 5
		DIP = 6
		MIL = 7 #A general for the Ashikaga
		}
	}

1461.1.1 = {
	monarch = { 
		name = " "
		ADM = 4
		DIP = 4
		MIL = 6 #Recaptured Totomi
		}
	}

1467.1.14 = { #The Onin War begins
	clr_country_flag = loyal_vassal
	set_country_flag = vassal
	}

1476.1.1 = { #Yoshitada dies; a succession crisis begins
	monarch = { 
		name = " "
		regent = yes
		ADM = 4
		DIP = 4
		MIL = 4
		}
	set_country_flag = oposicion_nobleza
	set_country_flag = oposicion_nobleza_media
	}
1477.1.1 = { #A compromise is arranged by Soun Hojo where Ujichika will inherit later
	clr_country_flag = oposicion_nobleza
	clr_country_flag = oposicion_nobleza_media
	}
1487.1.1 = { #The regent refuses to abdicate and is slain by Soun
	monarch = {
		name = " "
		adm = 7
		dip = 5
		mil = 7
	}
}

1526.8.2 = {
	monarch = {
		name = "Imagawa Ujiteru"
		adm = 7
		dip = 5
		mil = 5
	}
}

1536.6.10 = {
	monarch = {
		name = "Imagawa Yoshimoto"
		adm = 7
		dip = 7
		mil = 5
	}
}

1543.8.25 = { set_country_flag = tanegashima }

1549.1.1 = { set_country_flag = jesuits_arrive } #Francis Xavier meets with Otomo Sorin

1560.6.13 = {
	monarch = {
		name = "Imagawa Ujizane"
		adm = 5
		dip = 5
		mil = 5
	}
}

